import React from 'react'
import { useState, useEffect } from 'react'

export default function Chlid2({ list }) {
    

    return (
        <div>
            <div className="bd">
                <ul>
                    {
                        list.map((item) => {
                            return <li key={item}>{item}</li>
                        })
                    }
                </ul>
            </div>
        </div>
    )
}
